package cn.qayy.dto;

public class KuCunDTO {
	private String companyID="";//ID密码
	private String company="";//公司：甲方、乙方
	private String province="";//省份
	private String tx="";//条线
	private String pmode="";//政策模式
	private String client="";//客户：甲方、乙方、客户
	private String product="";//品种
	private String pack="";//包装
	private String qichu="";//期初 +
	private String xiaoshou="";//销售+
	private String diaojing="";//调拨进+
	private String diaochu="";//调拨出-
	private String cunxiao="";//纯销-
	private String kucun="";//理论库存
	private String etime="";//计算库存的截止时间
	private String qichuScount="";//期初折量
	private String xiaoshouScount="";//销售折量
	private String diaojingScount="";//调拨进折量
	private String diaochuScount="";//调拨出折量
	private String cunxiaoScount="";//纯销折量
	private String kucunScount="";//理论库存折量
	public KuCunDTO() {
	}
	/****
	 * 用省唯一标识该库存对象，目的是为了经理下载自己相关省份的库存
	 */
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((province == null) ? 0 : province.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		KuCunDTO other = (KuCunDTO) obj;
		if (province == null) {
			if (other.province != null)
				return false;
		} else if (!province.equals(other.province))
			return false;
		return true;
	}

	public String getCompanyID() {
		return companyID;
	}
	public void setCompanyID(String companyID) {
		this.companyID = companyID;
	}
	
	public KuCunDTO(String companyID, String company, String province, String tx, String pmode, String client,
			String product, String pack, String qichu, String xiaoshou, String diaojing, String diaochu, String cunxiao,
			String kucun, String etime, String qichuScount, String xiaoshouScount, String diaojingScount,
			String diaochuScount, String cunxiaoScount, String kucunScount) {
		this.companyID = companyID;
		this.company = company;
		this.province = province;
		this.tx = tx;
		this.pmode = pmode;
		this.client = client;
		this.product = product;
		this.pack = pack;
		this.qichu = qichu;
		this.xiaoshou = xiaoshou;
		this.diaojing = diaojing;
		this.diaochu = diaochu;
		this.cunxiao = cunxiao;
		this.kucun = kucun;
		this.etime = etime;
		this.qichuScount = qichuScount;
		this.xiaoshouScount = xiaoshouScount;
		this.diaojingScount = diaojingScount;
		this.diaochuScount = diaochuScount;
		this.cunxiaoScount = cunxiaoScount;
		this.kucunScount = kucunScount;
	}
	public KuCunDTO(String company, String province, String tx, String pmode, String client, String product,
			String pack, String qichu, String xiaoshou, String diaojing, String diaochu, String cunxiao, String kucun,
			String etime, String qichuScount, String xiaoshouScount, String diaojingScount, String diaochuScount,
			String cunxiaoScount, String kucunScount) {
		this.company = company;
		this.province = province;
		this.tx = tx;
		this.pmode = pmode;
		this.client = client;
		this.product = product;
		this.pack = pack;
		this.qichu = qichu;
		this.xiaoshou = xiaoshou;
		this.diaojing = diaojing;
		this.diaochu = diaochu;
		this.cunxiao = cunxiao;
		this.kucun = kucun;
		this.etime = etime;
		this.qichuScount = qichuScount;
		this.xiaoshouScount = xiaoshouScount;
		this.diaojingScount = diaojingScount;
		this.diaochuScount = diaochuScount;
		this.cunxiaoScount = cunxiaoScount;
		this.kucunScount = kucunScount;
	}

	public String getCompany() {
		return company;
	}
	public void setCompany(String company) {
		this.company = company;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getTx() {
		return tx;
	}
	public void setTx(String tx) {
		this.tx = tx;
	}
	public String getPmode() {
		return pmode;
	}
	public void setPmode(String pmode) {
		this.pmode = pmode;
	}
	public String getClient() {
		return client;
	}
	public void setClient(String client) {
		this.client = client;
	}
	public String getProduct() {
		return product;
	}
	public void setProduct(String product) {
		this.product = product;
	}
	public String getPack() {
		return pack;
	}
	public void setPack(String pack) {
		this.pack = pack;
	}
	public String getQichu() {
		return qichu;
	}
	public void setQichu(String qichu) {
		this.qichu = qichu;
	}
	public String getXiaoshou() {
		return xiaoshou;
	}
	public void setXiaoshou(String xiaoshou) {
		this.xiaoshou = xiaoshou;
	}
	public String getDiaojing() {
		return diaojing;
	}
	public void setDiaojing(String diaojing) {
		this.diaojing = diaojing;
	}
	public String getDiaochu() {
		return diaochu;
	}
	public void setDiaochu(String diaochu) {
		this.diaochu = diaochu;
	}
	public String getCunxiao() {
		return cunxiao;
	}
	public void setCunxiao(String cunxiao) {
		this.cunxiao = cunxiao;
	}
	public String getKucun() {
		return kucun;
	}
	public void setKucun(String kucun) {
		this.kucun = kucun;
	}
	public String getEtime() {
		return etime;
	}
	public void setEtime(String etime) {
		this.etime = etime;
	}
	public String getQichuScount() {
		return qichuScount;
	}
	public void setQichuScount(String qichuScount) {
		this.qichuScount = qichuScount;
	}
	public String getXiaoshouScount() {
		return xiaoshouScount;
	}
	public void setXiaoshouScount(String xiaoshouScount) {
		this.xiaoshouScount = xiaoshouScount;
	}
	public String getDiaojingScount() {
		return diaojingScount;
	}
	public void setDiaojingScount(String diaojingScount) {
		this.diaojingScount = diaojingScount;
	}
	public String getDiaochuScount() {
		return diaochuScount;
	}
	public void setDiaochuScount(String diaochuScount) {
		this.diaochuScount = diaochuScount;
	}
	public String getCunxiaoScount() {
		return cunxiaoScount;
	}
	public void setCunxiaoScount(String cunxiaoScount) {
		this.cunxiaoScount = cunxiaoScount;
	}
	public String getKucunScount() {
		return kucunScount;
	}
	public void setKucunScount(String kucunScount) {
		this.kucunScount = kucunScount;
	}
	
}
